package com.elock.entity;

import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.elock.base.core.entity.BaseEntity;

/**
 * Entity - 锁车辆关联
 * @author 仁德
 */
@Entity
@Table(name = "elock_car")
@SequenceGenerator(name = "sequenceGenerator", sequenceName = "elock_car_sequence")
public class ElockCar extends BaseEntity {

	private static final long serialVersionUID = 1386745660360951034L;

	/** 车辆id */
	private Long carId;

	/** 车牌号 */
	private String carNumber;

	/** 终端设备id */
	private Long elockId;

	/** 终端设备编号 */
	private String elockNum;

	/** 安装位置 */
	private String position;

	/** 序号  */
	private String seq;

	/** 舱位  */
	private Integer berth;

	/**  
	 * 获取carId  
	 * @return carId carId  
	 */
	public Long getCarId() {
		return carId;
	}

	/**  
	 * 设置carId  
	 * @param carId carId  
	 */
	public void setCarId(Long carId) {
		this.carId = carId;
	}

	/**  
	 * 获取carNumber  
	 * @return carNumber carNumber  
	 */
	public String getCarNumber() {
		return carNumber;
	}

	/**  
	 * 设置carNumber  
	 * @param carNumber carNumber  
	 */
	public void setCarNumber(String carNumber) {
		this.carNumber = carNumber;
	}

	/**  
	 * 获取elockId  
	 * @return elockId elockId  
	 */
	public Long getElockId() {
		return elockId;
	}

	/**  
	 * 设置elockId  
	 * @param elockId elockId  
	 */
	public void setElockId(Long elockId) {
		this.elockId = elockId;
	}

	/**  
	 * 获取elockNum  
	 * @return elockNum elockNum  
	 */
	public String getElockNum() {
		return elockNum;
	}

	/**  
	 * 设置elockNum  
	 * @param elockNum elockNum  
	 */
	public void setElockNum(String elockNum) {
		this.elockNum = elockNum;
	}

	/**  
	 * 获取position  
	 * @return position position  
	 */
	public String getPosition() {
		return position;
	}

	/**  
	 * 设置position  
	 * @param position position  
	 */
	public void setPosition(String position) {
		this.position = position;
	}

	public String getSeq() {
		return seq;
	}

	public void setSeq(String seq) {
		this.seq = seq;
	}

	public Integer getBerth() {
		return berth;
	}

	public void setBerth(Integer berth) {
		this.berth = berth;
	}

}
